#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL.Models.Marketmodels;
using Cephei.QL.Math;
namespace Cephei.QL.Models.Marketmodels.Products.Pathwise
{
     // <summary> 
	// ! Swap for doing simple cash rebate. Fairly useless when used directly, but if we want to look a breakable swap it becomes useful.
	// </summary>
    [Guid ("B2D9839C-1895-4dda-9BCA-BB84BD518FE9"),ComVisible(true)]
	public interface IMarketModelPathwiseCashRebate : Cephei.QL.Models.Marketmodels.IMarketModelPathwiseMultiProduct
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Boolean AlreadyDeflated {get;}
        
		 Cephei.QL.Models.Marketmodels.IEvolutionDescription Evolution {get;}
        
		 UInt64 MaxNumberOfCashFlowsPerProductPerStep {get;}
        
		 UInt64 NumberOfProducts {get;}
        
		 Cephei.IVector<Double> PossibleCashFlowTimes {get;}
        
		 IMarketModelPathwiseCashRebate Reset {get;}
        
		 Cephei.IVector<UInt64> SuggestedNumeraires {get;}
    }

    // <summary> 
	// ! Swap for doing simple cash rebate. Fairly useless when used directly, but if we want to look a breakable swap it becomes useful. Factory
	// </summary>
   	[ComVisible(true)]
    public interface IMarketModelPathwiseCashRebate_Factory // : Collection_Factory<IMarketModelPathwiseCashRebate, ICell<IMarketModelPathwiseCashRebate>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    IMarketModelPathwiseCashRebate Create (Cephei.QL.Models.Marketmodels.IEvolutionDescription evolution, Cephei.IVector<Double> paymentTimes, Cephei.QL.Math.IMatrix amounts, UInt64 numberOfProducts);
    }
}

